<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class Task extends Model
{
	use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'task';

    protected $hidden = [
        'deleted_at'
    ];

    public function task_detail(){
        return $this->belongsTo('App\Models\TaskDetail');
    }
}
